﻿// Xshell Command Argument 
// 
// <copyright file="XsArgument.cs" company="TaskyMedia LLC">
//   Copyright © 2010 TaskyMedia LLC
// </copyright>

namespace Xshell
{
    /// <summary>
    /// Represents a name/value pair for an argument.
    /// </summary>
    internal class XsArgument
    {
        /// <summary>
        /// Name of the argument.
        /// </summary>
        private string _name;

        /// <summary>
        /// Value of the argument.
        /// </summary>
        private string _value;

        /// <summary>
        /// Initializes a new instance of the <see cref="XsArgument"/> class.
        /// </summary>
        /// <param name="name">The name of the argument.</param>
        /// <param name="value">The value of the argument.</param>
        public XsArgument(string name, string value)
        {
            this._name = name;
            this._value = value;
        }

        /// <summary>
        /// Gets the name of the argument.
        /// </summary>
        /// <value>The name of the argument.</value>
        public string Name
        {
            get { return this._name; }
        }

        /// <summary>
        /// Gets the value of the argument.
        /// </summary>
        /// <value>The value of the argument.</value>
        public string Value
        {
            get { return this._value; }
        }
    }
}
